package modellayer;

public class PartSale {

	private int id;
	private int amount;
	
	private Sale sale;
	private Item item;

	public PartSale(){
		
	}

	public PartSale(int id){
		this.id = id;
	}
	
	public PartSale(int id, int amount, Sale sale, Item item){
		this.id = id;
		this.amount = amount;
		this.sale = sale;
		this.item = item;
	}

	public void setID(int id){
		this.id = id;
	}
	
	public void setAmount(int amount){
		this.amount = amount;
	}
	
	public void setSale(Sale sale){
		this.sale = sale;
	}
	
	public void setItem(Item item){
		this.item = item;
	}
	
	public int getID(){
		return id;
	}
	
	public int getAmount(){
		return amount;
	}
	
	public Sale getSale(){
		return sale;
	}
	
	public Item getItem(){
		return item;
	}
}
